package com.zbkj.common.model.community;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 社区种草官表
 * </p>
 *
 * @author keNan
 * @since 2025-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_community_recommender")
@ApiModel(value="CommunityRecommender对象", description="社区种草官表")
public class CommunityRecommender implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "累计收益")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "冻结收益")
    private BigDecimal freezeAmount;

    @ApiModelProperty(value = "待结算收益")
    private BigDecimal availableAmount;

    @ApiModelProperty(value = "已结算收益")
    private BigDecimal settledAmount;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
